<!DOCTYPE html>
<html th:replace="layout/layout"
      xmlns:th="http://www.thymeleaf.org">
<title th:fragment="titleName">首页</title>
<style th:fragment="styles">
    #chartDiv, #container {
        height: 320px;
        width: 100%;
        overflow: hidden;
    }

</style>
<div th:fragment="content">

    <div class="wrapper wrapper-content">

        <div class="row  border-bottom white-bg dashboard-header">
            <div class="row">
                <div class="col-lg-6">
                    <div class="panel panel-info">
                        <div class="panel-heading">
                            <i class="fa fa-info-circle"></i> 推送消息列表
                            <a style="float: right;color: white" href="/newsUsers/index">更多>></a>
                        </div>

                        <div class="panel-body">
                            <div class="jqGrid_wrapper">
                                <table class="table table-striped table-bordered table-hover " id="tableList3">
                                </table>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="col-lg-6">
                    <div class="panel panel-info">
                        <div class="panel-heading">
                            <i class="fa fa-info-circle"></i> 通知公告列表
                            <a style="float: right;color: white" href="/noticeUsers/index">更多>></a>
                        </div>

                        <div class="panel-body">
                            <div class="jqGrid_wrapper">
                                <table class="table table-striped table-bordered table-hover " id="tableList4">
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-lg-12">
                    <div class="panel panel-info">
                        <div class="panel-heading">
                            <i class="fa fa-info-circle"></i> 待检疫提醒

                        </div>

                        <div class="panel-body">
                            <div class="jqGrid_wrapper">
                                <table class="table table-striped table-bordered table-hover " id="tableList">

                                </table>
                            </div>
                        </div>
                    </div>
                </div>

<!--                <div class="col-lg-12">-->
<!--                    <div class="panel panel-info">-->
<!--                        <div class="panel-heading">-->
<!--                            <i class="fa fa-info-circle"></i> 待开动物检疫合格证明提醒-->

<!--                        </div>-->

<!--                        <div class="panel-body">-->
<!--                            <div class="jqGrid_wrapper">-->
<!--                                <table class="table table-striped table-bordered table-hover " id="tableList1">-->

<!--                                </table>-->
<!--                            </div>-->
<!--                        </div>-->
<!--                    </div>-->
<!--                </div>-->
            </div>
        </div>
    </div>
    
    <!--  处理模态框  -->
    <div class="modal inmodal" id="myModalAdd" tabindex="-1" role="dialog" aria-hidden="true">
        <div class="modal-dialog  modal-lg">
            <div class="modal-content animated bounceInRight">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"><span
                            aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                    <h4 class="modal-title">待检疫信息</h4>
                </div>
                <div class="modal-body">
                    <!--@*模态框body*@-->

                    <div class="tabs-container">

                        <form class="form-horizontal" id="myform">
                            <div class="panel-body form-horizontal">
                                <div class="row">
                                    <label class="col-lg-3 control-label">报检日期</label>
                                    <div class="col-lg-3">
                                        <div class="form-group">
                                            <input readonly type="text" id="reportDate" name="reportDate" placeholder="报检日期" autocomplete="off" class="form-control"/>
                                        </div>
                                    </div>
                                    <label class="col-lg-3 control-label">报检方式</label>
                                    <div class="col-lg-3">
                                        <div class="form-group">
                                            <input readonly type="text" id="reportType" name="reportType" placeholder="报检方式" autocomplete="off" class="form-control"/>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-3 control-label">申报单位</label>
                                    <div class="col-lg-3">
                                        <div class="form-group">
                                            <input readonly type="text" id="applicant" name="applicant" placeholder="申报单位" autocomplete="off" class="form-control"/>
                                        </div>
                                    </div>
                                    <label class="col-lg-3 control-label">单位联系电话</label>
                                    <div class="col-lg-3">
                                        <div class="form-group">
                                            <input readonly type="text" id="applicantPhone" name="applicantPhone" placeholder="单位联系电话" autocomplete="off" class="form-control"/>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-3 control-label">购买人</label>
                                    <div class="col-lg-3">
                                        <div class="form-group">
                                            <input readonly type="text" id="purchaserName" name="purchaserName" placeholder="购买人" autocomplete="off" class="form-control"/>
                                        </div>
                                    </div>
                                    <label class="col-lg-3 control-label">购买人联系电话</label>
                                    <div class="col-lg-3">
                                        <div class="form-group">
                                            <input readonly type="text" id="purchaserPhone" name="purchaserPhone" placeholder="购买人联系电话" autocomplete="off" class="form-control"/>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-3 control-label">动物种类</label>
                                    <div class="col-lg-3">
                                        <div class="form-group">
                                            <input readonly type="text" id="animalType" name="animalType" placeholder="动物种类" autocomplete="off" class="form-control"/>
                                        </div>
                                    </div>
                                    <label class="col-lg-3 control-label">用途</label>
                                    <div class="col-lg-3">
                                        <div class="form-group">
                                            <input readonly type="text" id="purpose" name="purpose" placeholder="用途" autocomplete="off" class="form-control"/>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-3 control-label">数量</label>
                                    <div class="col-lg-3">
                                        <div class="form-group">
                                            <input readonly type="text" id="number" name="number" placeholder="数量" autocomplete="off" class="form-control"/>
                                        </div>
                                    </div>
                                    <label class="col-lg-3 control-label">单位</label>
                                    <div class="col-lg-3">
                                        <div class="form-group">
                                            <input readonly type="text" id="unit" name="unit" placeholder="单位" autocomplete="off" class="form-control"/>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-3 control-label">启运地址</label>
                                    <div class="col-lg-3">
                                        <div class="form-group">
                                            <input readonly type="text" id="shipAddress" name="shipAddress" placeholder="启运地址" autocomplete="off" class="form-control"/>
                                        </div>
                                    </div>
                                    <label class="col-lg-3 control-label">到达地址</label>
                                    <div class="col-lg-3">
                                        <div class="form-group">
                                            <input readonly type="text" id="arrivalAddress" name="arrivalAddress" placeholder="到达地址" autocomplete="off" class="form-control"/>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-3 control-label">当前定位</label>
                                    <div class="col-lg-3">
                                        <div class="form-group">
                                            <input readonly type="text" id="currentPosition" name="currentPosition" placeholder="当前定位" autocomplete="off" class="form-control"/>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-3 control-label">牲畜耳标号</label>
                                    <div class="col-lg-9">
                                        <div class="form-group">
                                            <input readonly type="text" id="livestockNo" name="livestockNo" placeholder="牲畜耳标号" autocomplete="off" class="form-control"/>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-3 control-label">牲畜状态照片</label>
                                    <div class="col-lg-3">
                                        <div class="form-group">
                                            <img src="" id="livestockPhoto" class="img-responsive">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-3 control-label">车辆运载照片</label>
                                    <div class="col-lg-3">
                                        <div class="form-group">
                                            <img src="" id="carPhoto" class="img-responsive">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-3 control-label">销售时间</label>
                                    <div class="col-lg-3">
                                        <div class="form-group">
                                            <input readonly type="text" id="saleDate" name="saleDate" placeholder="销售时间" autocomplete="off" class="form-control"/>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-3 control-label">承运人</label>
                                    <div class="col-lg-3">
                                        <div class="form-group">
                                            <input readonly type="text" id="carrier" name="carrier" placeholder="承运人" autocomplete="off" class="form-control"/>
                                        </div>
                                    </div>
                                    <label class="col-lg-3 control-label">承运人电话</label>
                                    <div class="col-lg-3">
                                        <div class="form-group">
                                            <input readonly type="text" id="carrierPhone" name="carrierPhone" placeholder="承运人电话" autocomplete="off" class="form-control"/>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-3 control-label">车牌号</label>
                                    <div class="col-lg-3">
                                        <div class="form-group">
                                            <input readonly type="text" id="carNumber" name="carNumber" placeholder="车牌号" autocomplete="off" class="form-control"/>
                                        </div>
                                    </div>
                                    <label class="col-lg-3 control-label">运载方式</label>
                                    <div class="col-lg-3">
                                        <div class="form-group">
                                            <input readonly type="text" id="carry" name="carry" placeholder="运载方式" autocomplete="off" class="form-control"/>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-3 control-label">承运工具消毒情况</label>
                                    <div class="col-lg-3">
                                        <div class="form-group">
                                            <input readonly type="text" id="disinfection" name="disinfection" placeholder="承运工具消毒情况" autocomplete="off" class="form-control"/>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-3 control-label"><font color="red">*</font>检疫日期</label>
                                    <div class="col-lg-3">
                                        <div class="form-group">
                                            <input type="text" id="quarantineDate" name="quarantineDate" placeholder="检疫日期" autocomplete="off" class="form-control"/>
                                        </div>
                                    </div>
                                    <label class="col-lg-3 control-label"><font color="red">*</font>检疫证明码</label>
                                    <div class="col-lg-3">
                                        <div class="form-group">
                                            <input type="text" id="quarantineCode" name="quarantineCode" placeholder="检疫证明码" autocomplete="off" class="form-control"/>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>

                    <!--模态框body结束-->
                </div>
                <div class="modal-footer">
                    <button type="button" id="save" name="save" class="btn btn-success" onclick="saveRecord();"><i
                            class="fa fa-save"></i>&nbsp;提交
                    </button>
                    <button type="button" id="close" name="close" class="btn btn-danger" data-dismiss="modal"><i
                            class="fa fa-close"></i>&nbsp;关 闭
                    </button>
                </div>
            </div>
        </div>
    </div>
    <!--  处理模态框结束  -->

    <!-- 查看公告模态框 -->
    <div class="modal inmodal" id="myModalView" tabindex="-1" role="dialog" aria-hidden="true">
        <div class="modal-dialog  modal-lg">
            <div class="modal-content animated bounceInRight">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"><span
                            aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                    <h4 class="modal-title" id="title"></h4>
                    <span id="publisher"></span>
                    <span id="publisheTime"></span>
                </div>
                <div class="modal-body">
                    <!--@*模态框body*@-->
                    <div class="tabs-container">
                        <div id="myContent"></div>
                    </div>

                    <!--模态框body结束-->
                </div>
                <div class="modal-footer">
                    <button type="button" name="close" class="btn btn-danger" data-dismiss="modal"><i
                            class="fa fa-close"></i>&nbsp;关 闭
                    </button>
                </div>
            </div>
        </div>
    </div>
    <!-- 查看公告模态框结束 -->

    <!-- 推送消息模态框 -->
    <div class="modal inmodal" id="myModalView1" tabindex="-1" role="dialog" aria-hidden="true">
        <div class="modal-dialog  modal-lg">
            <div class="modal-content animated bounceInRight">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"><span
                            aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                    <h4 class="modal-title" id="title1"></h4>
                    <span id="publisher1"></span>
                    <span id="publisheTime1"></span>
                </div>
                <div class="modal-body">
                    <!--@*模态框body*@-->
                    <div class="tabs-container">
                        <div id="myContent1"></div>
                    </div>

                    <!--模态框body结束-->
                </div>
                <div class="modal-footer">
                    <button type="button"  name="close" class="btn btn-danger" data-dismiss="modal"><i
                            class="fa fa-close"></i>&nbsp;关 闭
                    </button>
                </div>
            </div>
        </div>
    </div>
    <!-- 推送消息模态框结束 -->
</div>
<div th:fragment="scriptRef">
    <script th:src="@{/static/js/lib/inspinia/js/plugins/laydate/laydate.js}"></script>
    <script th:src="@{/static/js/home/home6.js}"></script>
    <script th:src="@{/static/js/lib/echart/echarts.min.js}"></script>
    <!-- 文件上传 -->
    <script th:src="@{/js/Scripts/ajaxfileupload.js}"></script>
    <!--表单验证-->
    <script th:src="@{/js/lib/validate/jquery.validate.min.js}"></script>
</div>
<script th:fragment="scripts" type="text/javascript">
    Home6.init();
    //画柱状图
    //   Maps("line", myChart, '{value}');
</script>
</html>